package cn.edu.tju.elm.model.wallet;

/**
 * 会员级别枚举
 */
public enum MembershipLevel {
    REGULAR("普通用户", new java.math.BigDecimal("1000.00"), new java.math.BigDecimal("0.10")),
    SVIP("超级会员", new java.math.BigDecimal("3000.00"), new java.math.BigDecimal("0.20"));

    private final String displayName;
    private final java.math.BigDecimal overdraftLimit;
    private final java.math.BigDecimal rewardRate;

    MembershipLevel(String displayName, java.math.BigDecimal overdraftLimit, java.math.BigDecimal rewardRate) {
        this.displayName = displayName;
        this.overdraftLimit = overdraftLimit;
        this.rewardRate = rewardRate;
    }

    public String getDisplayName() {
        return displayName;
    }

    public java.math.BigDecimal getOverdraftLimit() {
        return overdraftLimit;
    }

    public java.math.BigDecimal getRewardRate() {
        return rewardRate;
    }
}

